package pl.edu.uj.tcs.blef.protocol;

public class NewHandRequest extends Request {

	private int handSize;
	
	public NewHandRequest(String message, RequestHandler handler) {
		super(message, handler);
		fill();
	}

	@Override
	protected void fill() {
		this.handSize = Integer.parseInt(message.split("\n")[1]);
	}
	
	public int getHandSize(){
		return this.handSize;
	}
}
